package com.oracle.dao.impl;

import com.oracle.pojo.Book;
import com.oracle.pojo.BookExample;
import com.oracle.pojo.vo.BookVo;

import java.util.List;

public interface BookDao {
    String addBook(Book record);

    List<Book> selectByExample(BookVo bookVo);

    List<Book> selectByExample_All(BookVo bookVo);

    String updateByBid(Book book);

    int down(Integer bid);

    int up(Integer bid);

    List<Book> selectBooksByNumOrder();

    Book seleteBookbyId(Book book);

    List<Book> selectBooksByCid(Integer cid);
}
